EventPhase

public enum EventPhase

Represents the DOM event phases.

Entries

Link copied to clipboard

Indicates that the event is moving from the document root down the event target.

Link copied to clipboard

Indicates that the event is being evaluated at the event target.

Link copied to clipboard

Indicates that the event is moving from the event target up to the root.

Functions

Link copied to clipboard
public static EventPhase valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<EventPhase> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.